<template>
  <view class="dialogHeader">
    {{ title }}
  </view>
</template>

<script setup lang="ts">
defineProps({
  title: {
    type: String,
    default: "",
  },
});
</script>

<style lang="scss" scoped>
.dialogHeader {
  margin-top: 40rpx;
  margin-bottom: 40rpx;
  align-self: center;
  margin-left: 25rpx;
  text-align: center;
  width: calc(100% - 50rpx);
  height: 44rpx;
  font-size: 32rpx;
  font-weight: 500;
  color: #000000;
  line-height: 38rpx;
}
</style>
